package com.bby.disk.service;

import com.bby.common.exception.BBYException;
import com.bby.disk.manager.upload.OfflineTask;
import com.bby.disk.manager.upload.OfflineThreadTask;

public interface IOfflineService {



    void addTask(String userId, OfflineTask task) throws BBYException;

    void retryTask(String userId, String taskId) throws BBYException;

    void delTask(String userId, String taskId) throws BBYException;

    long getFinishedSize(String userId, String taskId) throws BBYException;
}
